package com.ruoyi.wisdom.domain.swap;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.annotation.Transient;

import java.util.Date;

/**
 * 学生信息对象 iot_student_info
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class SwapStudentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 学校ID */
    @Excel(name = "学校ID")
    @JsonProperty("com_id")
    private Long comId;

    /** 关联ID */
    @Excel(name = "关联ID")
    @JsonProperty("relation_id")
    private Long relationId;

    /** 人脸id */
    @Excel(name = "人脸id")
    @JsonProperty("face_id")
    private String faceId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String name;

    /** 学籍号 */
    @Excel(name = "学籍号")
    @JsonProperty("student_code")
    private String studentCode;

    /** 身份证号 */
    @Excel(name = "身份证号")
    @JsonProperty("id_card")
    private String idCard;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 性别 0-保密 1-男 2-女 */
    @Excel(name = "性别 0-保密 1-男 2-女")
    private Integer gender;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birth;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 籍贯 */
    @Excel(name = "籍贯")
    @JsonProperty("native_place")
    private String nativePlace;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    @JsonProperty("home_address")
    private String homeAddress;

    /** 户口类型 1-农业 2-非农业 */
    @Excel(name = "户口类型 1-农业 2-非农业")
    @JsonProperty("node_type")
    private Integer nodeType;

    /** 户口住址 */
    @Excel(name = "户口住址")
    @JsonProperty("node_address")
    private String nodeAddress;

    /** 是否有接种证 1-否 2-是 */
    @Excel(name = "是否有接种证 1-否 2-是")
    @JsonProperty("is_vaccine")
    private Integer isVaccine;

    /** 入学时间 */
    @Excel(name = "入学时间")
    @JsonProperty("admission_time")
    private String admissionTime;

    /** 毕业时间 */
    @JsonProperty("graduation_time")
    private String graduationTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 相片 */
    @Excel(name = "相片")
    private String photo;

    /** 1-正常 2-毕业 退学-1 转校转学-2 休学-3 */
    @Excel(name = "1-正常 2-毕业 退学-1 转校转学-2 休学-3")
    private Integer status;

    /** 0未到校，1在校 2已离校 */
    @Excel(name = "0未到校，1在校 2已离校")
    @JsonProperty("in_school")
    private Integer inSchool;

    /** 在校发生时间 */
    @JsonProperty("school_time")
    private String  schoolTime;

    /** 是否住宿：0否1是 */
    @Excel(name = "是否住宿：0否1是")
    @JsonProperty("is_dormitory")
    private Integer isDormitory;

    /** 是否在宿舍1 进宿舍 2出宿舍 */
    @Excel(name = "是否在宿舍1 进宿舍 2出宿舍")
    @JsonProperty("in_dormitory")
    private Integer inDormitory;

    /** 进出宿舍时间 */
    @JsonProperty("dormitory_time")
    private String dormitoryTime;

    @Transient
    private String operate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setRelationId(Long relationId) 
    {
        this.relationId = relationId;
    }

    public Long getRelationId() 
    {
        return relationId;
    }
    public void setFaceId(String faceId) 
    {
        this.faceId = faceId;
    }

    public String getFaceId() 
    {
        return faceId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStudentCode(String studentCode) 
    {
        this.studentCode = studentCode;
    }

    public String getStudentCode() 
    {
        return studentCode;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setBirth(String birth)
    {
        this.birth = birth;
    }

    public String getBirth()
    {
        return birth;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }
    public void setHomeAddress(String homeAddress) 
    {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress() 
    {
        return homeAddress;
    }
    public void setNodeType(Integer nodeType) 
    {
        this.nodeType = nodeType;
    }

    public Integer getNodeType() 
    {
        return nodeType;
    }
    public void setNodeAddress(String nodeAddress) 
    {
        this.nodeAddress = nodeAddress;
    }

    public String getNodeAddress() 
    {
        return nodeAddress;
    }
    public void setIsVaccine(Integer isVaccine) 
    {
        this.isVaccine = isVaccine;
    }

    public Integer getIsVaccine() 
    {
        return isVaccine;
    }
    public void setAdmissionTime(String admissionTime)
    {
        this.admissionTime = admissionTime;
    }

    public String getAdmissionTime()
    {
        return admissionTime;
    }
    public void setGraduationTime(String graduationTime)
    {
        this.graduationTime = graduationTime;
    }

    public String getGraduationTime()
    {
        return graduationTime;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setInSchool(Integer inSchool) 
    {
        this.inSchool = inSchool;
    }

    public Integer getInSchool() 
    {
        return inSchool;
    }
    public void setSchoolTime(String schoolTime)
    {
        this.schoolTime = schoolTime;
    }

    public String getSchoolTime()
    {
        return schoolTime;
    }
    public void setIsDormitory(Integer isDormitory) 
    {
        this.isDormitory = isDormitory;
    }

    public Integer getIsDormitory() 
    {
        return isDormitory;
    }
    public void setInDormitory(Integer inDormitory) 
    {
        this.inDormitory = inDormitory;
    }

    public Integer getInDormitory() 
    {
        return inDormitory;
    }
    public void setDormitoryTime(String dormitoryTime)
    {
        this.dormitoryTime = dormitoryTime;
    }

    public String getDormitoryTime()
    {
        return dormitoryTime;
    }

    public void setOperate(String operate){ this.operate = operate; }
    public String getOperate(){ return operate; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comId", getComId())
            .append("relationId", getRelationId())
            .append("faceId", getFaceId())
            .append("name", getName())
            .append("studentCode", getStudentCode())
            .append("idCard", getIdCard())
            .append("mobile", getMobile())
            .append("gender", getGender())
            .append("birth", getBirth())
            .append("nation", getNation())
            .append("nativePlace", getNativePlace())
            .append("homeAddress", getHomeAddress())
            .append("nodeType", getNodeType())
            .append("nodeAddress", getNodeAddress())
            .append("isVaccine", getIsVaccine())
            .append("admissionTime", getAdmissionTime())
            .append("graduationTime", getGraduationTime())
            .append("remarks", getRemarks())
            .append("photo", getPhoto())
            .append("status", getStatus())
            .append("inSchool", getInSchool())
            .append("schoolTime", getSchoolTime())
            .append("isDormitory", getIsDormitory())
            .append("inDormitory", getInDormitory())
            .append("dormitoryTime", getDormitoryTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("operate", getOperate())
            .toString();
    }
}
